//
//  YBStarCommentView.h
//  ZhongWangYuanApp
//
//  Created by apple on 18/6/4.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YBStarCommentView;
@protocol YBStarCommentViewDelegate <NSObject>

-(void)StarCommentView:(YBStarCommentView *)starCommentView didSelectedWithCurrentNumber:(NSInteger)currentNumber;

@end

@interface YBStarCommentView : UIView
@property (nonatomic , assign) NSInteger currentStarNumber;
@property (nonatomic , assign) id<YBStarCommentViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame starNumber:(NSInteger)starNmuber title:(NSString *)title;

-(void)setStarButtonWithStarNumber:(NSInteger)starNumber;

@end



